package com.suzhe.ymall.promotion.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 本地消息表
 * </p>
 *
 * @author suzhe
 * @since 2019-08-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_message_log")
@ApiModel(value = "MessageLog对象", description = "本地消息表")
public class MessageLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value = "主键ID")
    private String id;

    @ApiModelProperty(value = "消息主题")
    private String messageTopic;

    @ApiModelProperty(value = "角色：发送,接收")
    private String messageRole;

    @ApiModelProperty(value = "消息内容")
    private String messageBody;

    @ApiModelProperty(value = "消息处理次数")
    private Integer handleTimes;

    @ApiModelProperty(value = "是否死亡 0 否，1 是")
    private Boolean dead;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建者")
    private Integer creater;

    @ApiModelProperty(value = "更新者")
    private Integer updater;


}
